﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HangfireTaskDemo
{
    public interface ITestSubService
    {
        Task<string> GetDataAsync();
    }

    public class TestSubService : ITestSubService
    {
        public async Task<string> GetDataAsync()
        {
            return await Task.FromResult($"这是{nameof(ITestSubService)}数据-----");
        }
    }
}
